package com.cdu.ai_intelligent_teaching_and_training_system.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class UserAnsweredQuestion {
    private Long usqId;
    private Integer examId;
    private Integer courseId;
    private String questionContent;
    private String options;
    private String correctAnswer;
    private String userAnswer;
    private String questionDifficulty;
    private Boolean isCorrect;
    private Timestamp answerTime;
    private BigDecimal scoreEarned;
    private String notes;

    // getter和setter
    public Long getUsqId() { return usqId; }
    public void setUsqId(Long usqId) { this.usqId = usqId; }
    public Integer getExamId() { return examId; }
    public void setExamId(Integer examId) { this.examId = examId; }
    public Integer getCourseId() { return courseId; }
    public void setCourseId(Integer courseId) { this.courseId = courseId; }
    public String getQuestionContent() { return questionContent; }
    public void setQuestionContent(String questionContent) { this.questionContent = questionContent; }
    public String getOptions() { return options; }
    public void setOptions(String options) { this.options = options; }
    public String getCorrectAnswer() { return correctAnswer; }
    public void setCorrectAnswer(String correctAnswer) { this.correctAnswer = correctAnswer; }
    public String getUserAnswer() { return userAnswer; }
    public void setUserAnswer(String userAnswer) { this.userAnswer = userAnswer; }
    public String getQuestionDifficulty() { return questionDifficulty; }
    public void setQuestionDifficulty(String questionDifficulty) { this.questionDifficulty = questionDifficulty; }
    public Boolean getIsCorrect() { return isCorrect; }
    public void setIsCorrect(Boolean isCorrect) { this.isCorrect = isCorrect; }
    public Timestamp getAnswerTime() { return answerTime; }
    public void setAnswerTime(Timestamp answerTime) { this.answerTime = answerTime; }
    public BigDecimal getScoreEarned() { return scoreEarned; }
    public void setScoreEarned(BigDecimal scoreEarned) { this.scoreEarned = scoreEarned; }
    public String getNotes() { return notes; }
    public void setNotes(String notes) { this.notes = notes; }
} 